﻿namespace Ordering.Application.Interfaces
{
    using System;
    using System.Threading.Tasks;

    using Ordering.Domain.AggregateModels;

    public interface IOrderService
    {
        Task<Order> AddAsync(
              Order model);

        Task<Order> UpdateAsync(
              Order model);

        Task<Order> GetAsync(Guid orderId);
    }
}
